package zero.springdemo.springquartzdemo.core.config

import org.slf4j.LoggerFactory
import org.springframework.scheduling.annotation.EnableScheduling
import org.springframework.stereotype.Component

@Component
@EnableScheduling
class MyFirstExerciseJob {
    private val logger = LoggerFactory.getLogger(this.javaClass)

    fun myJobBusinessMethod() {
        this.logger.info("job 111 trigger..")
    }

}